//In the background page:
<html>
  <script src="background.js" type="text/javascript"></script>
</html>